package tjut.opp.testI18;

public class TableTennisTest {

	static char[] team1 = { 'a', 'b', 'c' };
    static char[] team2 = { 'x', 'y', 'z' };
	public static void main(String[] args) {
		
	for (int i = 0; i < team1.length; i++) {
		for (int j = 0; j < team2.length; j++) {
		    if (team1[i] == 'a' && team2[j] == 'x') {
		    continue;
		} else if (team1[i] == 'a' && team2[j] == 'y') {
		    continue;
		} else if ((team1[i] == 'c' && team2[j] == 'x')|| (team1[i] == 'c' && team2[j] == 'z')) {
		    continue;
		} else if ((team1[i] == 'b' && team2[j] == 'z')|| (team1[i] == 'b' && team2[j] == 'y')) {
		    continue;
		} else{
		System.out.println(team1[i] + " vs " + team2[j]);
		      }
		
		
		   }
	
		}
	}
}


